<?php


class Application_Model_DbTable_Stock extends Zend_Db_Table_Abstract implements Application_Model_DbTable_Interface
{
    const FIELD_ID     = 'stock_id';
    const FIELD_TITLE  = 'stock_title';
    const FIELD_DESC   = 'stock_desc';
    const FIELD_DATE   = 'stock_date';
    const FIELD_PHOTO  = 'stock_photo';
    const FIELD_IS_ACTIVE = 'stock_is_active';

    protected $_name = 'stock';

    public function getPrimaryKey()
    {
        return self::FIELD_ID;
    }
}